#!/bin/bash

set -e

function build() {
	echo "Building "
	pnpm build

	echo "上传"

	mkdir -p /web/dist

	cp -p ./dist root@47.109.102.140:/web
}

build

echo "Done"